package br.com.rpinfo.helpdesk.util;

import br.com.rpinfo.helpdesk.ClienteDao;
import br.com.rpinfo.helpdesk.ClienteDaoHibernate;

public class DaoFactory {

  public static ClienteDao criarClienteDao() {
    ClienteDaoHibernate clienteDao = new ClienteDaoHibernate();
    clienteDao.setSession(HibernateUtil.getSessionFactory().getCurrentSession());
    return clienteDao;
  }
}
